Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyperf to 2.9.0 #1454

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Mar 4, 2025

This PR updates pyperf from 2.6.2 to 2.9.0.

Changelog

2.9.0

--------------------------

* Feature: A new hook, ``perf_record``, is available to turn Linux perf profiling on and off around the benchmark code.
To use it, pass ``--hook perf_record``.
Patch by Matt Page.
* Feature: pyperf will now warn if you are collecting too few or too many samples for stable results.
Patch by Michael Droettboom

2.8.1

--------------------------

* Bugfix: Hooks now work correctly in subprocess benchmarks (`bench.run_command`).
Patch by Michael Droettboom
* Python 3.8 is now unsupported.
Patch by Hugo van Kemenade

2.8.0

--------------------------

* Benchmarks now have a timeout.
Patch by Diego Russo.
* The example code in bench_time_func.py uses the more modern `time.perf_counter()`.
Patch by Hajime Senuma.
* pystats are now correctly collected in subprocesses.
Patch by Michael Droettboom.
* pyperf now supports "hooks" to add custom functionality around each benchmarking call.
pystats are no longer collected automatically, and you must pass `--hook pystats`.
Patch by Michael Droettboom.
* Memory units are now correctly stated in KiB and MiB.
Patch by Ungve Mardal Moe.
* max_mem_rss is now correctly measured on macOS.
Patch by Michael Droettboom.
* `pyperf system tune` now works correctly on aarch64.
Patch by Diego Russo.

2.7.0

---------------------------

* Fix logic in MSR availability test.
Patch by Mike Droettboom.
* Disable tuning TurboBoost setting on non-Intel device.
Patch by Mike Droettboom.
* Include CONFIG_ARGS in Metadata.
Patch by Jeff Glass.
* Support environment variables PYTHON_GIL / PYTHON_CPU_COUNT.
Patch by Donghee Na.

2.6.3

---------------------------

* Support Free-threading CPython (PEP-703) by disabling psutil related features.
Relevant issue: https://github.com/python/cpython/issues/116024.
Patch by Donghee Na.
* Fix mem_max_rss measurement on macOS.
Patch by Mike Droettboom.
Links

@pyup-bot pyup-bot mentioned this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant